Path: / {BASE} / logging / appenders / {id}

Get the configuration of the log appender with the given ID using the JSON format described in the header of the class

Path parameters:
id - unique identifier of appender

Resource Methods
Method Summary
NameDescription
GET /{BASE}/logging/appenders/{id}Get the configuration of the log appender with the given ID using the JSON format described in the header of the class
POST /{BASE}/logging/appenders/{id}Create or update the appender with the given id, using the JSON description sent in the body of the request

Method Detail

GET /{BASE}/logging/appenders/{id}

Get the configuration of the log appender with the given ID using the JSON format described in the header of the class

HTTP Example:
GET /{BASE}/logging/appenders/{id}
API Example:

LoggingWebService.getAppender({'id': /* id unique identifier of appender */});

Output:
Response - JSON formatted representation of configuration
Produces:
application/json
HTTP return codes:
200 - appender configuration returned successfully
404 - appender not found

POST /{BASE}/logging/appenders/{id}

Create or update the appender with the given id, using the JSON description sent in the body of the request

HTTP Example:
POST /{BASE}/logging/appenders/{id}
API Example:

LoggingWebService.updateAppender({'id': /* id unique identifier of appender */});

Output:
Response - HTTP status 200 in case of success
Consumes:
application/json
HTTP return codes:
200 - appender updated successfully
400 - appender configuration invalid (e.g. not proper JSON)
404 - appender not found